package com.Sdebruijn.curriculumvitae.sync.remote;

import android.graphics.Bitmap;

/**
 * Interface used to notify the UI from the background thread when a job failed or.
 *
 */
public interface DownloadListener {

	/**
	 * Failed.
	 */
	void failed();

	/**
	 * On succes.
	 *
	 * @param bmp the bmp
	 * @param local the local path
	 */
	void onSucces(Bitmap bmp, String local);
}
